package com.safety51.bootstrap.demo.application.events;

import com.safety51.bootstrap.commons.event.DomainEvent;
import lombok.Getter;
import lombok.Setter;

import java.time.Clock;

/**
 * Created by liuyuancheng on 2021/9/28  <br/>
 *
 * @author liuyuancheng
 */
public class PingEvent extends DomainEvent {

    @Getter
    @Setter
    public String msg;

    public PingEvent(Object source) {
        super(source);
    }

    public PingEvent(Object source, Clock clock) {
        super(source, clock);
    }

    public PingEvent(Object source, String message) {
        super(source);
        this.msg = message;
    }
}
